/*!
 * @file       readme.txt
 *
 * @brief      This file is routine instruction
 *
 * @version     V1.0.2
 *
 * @date        2022-06-23
 *
 * @attention
 *
 *  Copyright (C) 2021-2022 Geehy Semiconductor
 *
 *  You may not use this file except in compliance with the
 *  GEEHY COPYRIGHT NOTICE (GEEHY SOFTWARE PACKAGE LICENSE).
 *
 *  The program is only for reference, which is distributed in the hope
 *  that it will be usefull and instructional for customers to develop
 *  their software. Unless required by applicable law or agreed to in
 *  writing, the program is distributed on an "AS IS" BASIS, WITHOUT
 *  ANY WARRANTY OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the GEEHY SOFTWARE PACKAGE LICENSE for the governing permissions
 *  and limitations under the License.
 */

&par Example Description

This example describes how to use ethernet PHY by using APM32F4xx_ETH_Driver library.
After configured ethernet mainboard will be use USART1 to printf static IP address.
if computer ping static IP address192.168.1.22,  computer will be visit mainboard normality.

The phenomenon of data interaction process can be displayed using cmd.exe.

&par Hardware Description

runs on APM32F407-MINI Devices
 /**  jumpers setting
    +============================================================+
    +  Jumper |       MII mode configuration                    |      RMII mode configuration                   +
    +============================================================+
    +  J3       | 2-3 provide 25MHz clock by MCO(PA8)     |  2-3 provide 50MHz clock by MCO(PA8) +
    +              | 1-2 provide 25MHz clock by ext. Crystal   |                                                              +
    + --------------------------------------------------------------- --------------------------------------+
    +  J2       |          2-3                                                   |  1-2                                                       +
    + ------------------------------------------------------------------------------------------------------+
    +  J1       |          Open                                                |  Close                                                    +
    +============================================================+
  */

runs on APM32F407T176-ELE-HUETB Devices
 /**  jumpers setting
    +============================================================+
    +  Jumper |       MII mode configuration                     |      RMII mode configuration                   +
    +============================================================+
    +  JP5       | 2-3 provide 25MHz clock by MCO(PA8)     |  2-3 provide 50MHz clock by MCO(PA8) +
    +              | 1-2 provide 25MHz clock by ext. Crystal     |                                                              +
    + --------------------------------------------------------------- --------------------------------------+
    +  JP6       |          2-3                                                   |  1-2                                                       +
    + ------------------------------------------------------------------------------------------------------+
    +  JP8       |          Open                                                |  Close                                                    +
    +============================================================+
  */

read DP83848_PIN_CONNECT.xlsx

&par Directory contents

  - ETH\ELE_MII/Source/apm32f4xx_int.c     Interrupt handlers
  - ETH\ELE_MII/Source/main.c                    Main program
  - ETH\ELE_MII/Source/board_DP83848.c    provides functions for configurate DP83848

&par IDE environment

  - MDK-ARM V5.36
  - EWARM V8.50.5.26295

&par Hardware and Software environment

  - This example runs on APM32F407-MINI Devices, need to define APM32F407_MINI.
  - This example runs on APM32F407T176-ELE-HUETB Devices, need to define APM32F407_ELE_HUETB.
